import { save, getdata } from './core'
import { KEY } from './index'

//存储token
export function saveToken(data) { save(KEY.TOKEN,data) }

//获取token
export function getToken() { return getdata(KEY.TOKEN) }